package com.yanchi.bridge;

// 电脑的类型
public abstract class Computer {

    protected Brand brand;

    public Computer(Brand brand) {
        this.brand = brand;
    }

    public void info(){
        brand.info();   // 自带的品牌
    }

}
